﻿using System;

namespace Vosvek.ProjectRogue
{

    [Serializable]
    public class LockBolt
    {
        public string Password = string.Empty;
        public bool IsLocked = false;

        public void Unlock(Actor user)
        {
            // EARLY EXIT: Return if already unlocked, or there is no password.
            if (!IsLocked || string.IsNullOrEmpty(Password)) return;

            // TODO: Implement: Waiting for KeyItem.
        }
    }

}
